#ifndef EXCEPTION_H
#define EXCEPTION_H

#include <string>
#include <exception>
#include <glibmm/object.h>



    class Exception: public std::exception {
        Glib::ustring Message;
    public:
        explicit Exception(const Glib::ustring &s) : Message(s) {}
        virtual ~Exception() noexcept {}
        virtual const char* what() const noexcept {
            return Message.c_str();
        }

};



#endif // EXCEPTION_H
